package study03;

public class Java01_error {
    public static void main(String[] args) throws Exception {
        User1 user = new User1();
        int i = 10;
        int j = 0;
        try {
            user.test(i, j);
        } catch(Exception e) {
            e.printStackTrace();
        }
    }
}

class  User1 {
    public void test(int i, int j) throws Exception {
        try {
            System.out.println(i / j);
        } catch (ArithmeticException e) {
            throw new Exception();
        }
    }
}
